/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Data;

import java.io.Serializable;

/**
 *
 * @author Riso-Desktop
 */
public class Data implements Serializable {

    String meno;
    String heslo;
    String databaza;
    String server;
    String port;

    public Data(String databaza, String server, String port) {
        
            this.server = server;
            this.databaza = databaza;
            this.port = port;
            this.meno = null;
            this.heslo = null;
        
    }

    public Data(String meno, String heslo, String databaza, String server, String port) {
        
            this.server = server;
            this.databaza = databaza;
            this.port = port;
            this.meno = meno;
            this.heslo = heslo;
            String en = databaza;
            String de = en;
        
    }


    public String getDatabaza() {
        return databaza;
    }

    public void setDatabaza(String databaza) {
        this.databaza = databaza;
    }

    public String getHeslo() {
        return heslo;
    }

    public void setHeslo(String heslo) {
        this.heslo = heslo;
    }

    public String getMeno() {
        return meno;
    }

    public void setMeno(String meno) {
        this.meno = meno;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getServer() {
        return server;
    }

    public void setServer(String server) {
        this.server = server;
    }
}
